package com.iris.live.services.report.data.carmodelline;

import com.iris.live.services.report.data.ColumnUnit;

/**
 * 品牌车型单元格定义
 * @author: wangzhenyan
 * date: 2017/8/31 15:52
 */

public class CarModelUnit extends ColumnUnit{

        private CarModelType type;;  // 总计、来源、品牌、车系、车型、车款
    private String column;

    public CarModelUnit(CarModelType type, String value, String column, Integer displayRowOrder) {
        this(type,value,value, column,displayRowOrder);
    }

    public CarModelUnit(CarModelType type, String value, String text, String column, Integer displayRowOrder) {
        super(value, text, displayRowOrder);

        this.type = type;
        this.column = column;
    }

    public CarModelType getType() {
        return type;
    }

    public void setCarType(CarModelType type) {
        this.type = type;
    }

    public String getColumn() {
        return column;
    }

    public void setColumn(String column) {
        this.column = column;
    }

public enum CarModelType{TOTAL,SOURCE,BRAND,SERIES,MODEL,STYLE}
}
